<?php
class Other{
    public function __invoke($param)
    {
        var_dump($param);
        return '哥，你在把一个对象当作函数用';
    }
}
$object = new Other();
echo $object('king',25);